package com.zjxf.base.bean.po;

import com.zjxf.base.common.IdEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 商铺
 *
 * @author ZhangWei
 * @date 2021/3/27/027 15:51
 */
@Setter
@Getter
@Entity
@Table(name = "ums_store")
public class UmsStore extends IdEntity {

    /**
     * 商铺名称
     */
    @Column(name = "name",columnDefinition = "varchar(64) comment '商铺名称'")
    private String name;

    /**
     * 商铺简介
     */
    @Column(name = "detail_html",columnDefinition = "longtext comment '商铺简介'")
    private String detailHtml;

    /**
     * 商家对应区县名称
     */
    @Column(name = "county",columnDefinition = "varchar(255) comment '商家对应区县名称'")
    private String county;
}
